import os
from datetime import timedelta

class Config:
    # MySQL配置
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://test:test123@172.17.0.2/testdb'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    
    # Redis配置
    REDIS_HOST = '192.168.19.143'
    REDIS_PORT = 6379
    REDIS_DB = 0
    
    # 其他配置
    SECRET_KEY = 'dev-key-123' 
